<!DOCTYPE HTML>
<html>
<head>
  <title>语言代码 | AutoHotkey v1</title>
<meta name="description" content="A list of language names, each of which is associated with a language code (also known as a locale identifier, LCID) that can be contained in the A_Language variable." />
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>

<body>
<h1>语言代码</h1>

<p>下表包含了与语言代码(也称为本地标识符 LCID) 相关联的语言名称, <a href="../Variables.htm#Language">A_Language</a> 变量的值为其中的某个语言代码. 语言代码自身是下面等号左边的最后四位数字. 例如, 如果 A_Language 的值为 0436, 则系统的默认语言为 Afrikaans(南非).</p>
<p class="note"><strong>注意:</strong> 包含字母的代码可能使用大写字母或小写字母.</p>
<p>您可以直接把 A_Language 和下面的一个或多个 4 位代码进行比较; 例如: <code>if (A_Language = "0436")</code>. 或者您可以把整个表粘贴到脚本中, 然后像列表底部演示的那样访问当前语言名称.</p>
<pre class="NoIndent">LCID_0036 := "Afrikaans"  <em>; af</em>
LCID_0436 := "Afrikaans (South Africa)"  <em>; af-ZA</em>
LCID_001C := "Albanian"  <em>; sq</em>
LCID_041C := "Albanian (Albania)"  <em>; sq-AL</em>
LCID_0484 := "Alsatian (France)"  <em>; gsw-FR</em>
LCID_005E := "Amharic"  <em>; am</em>
LCID_045E := "Amharic (Ethiopia)"  <em>; am-ET</em>
LCID_0001 := "Arabic"  <em>; ar</em>
LCID_1401 := "Arabic (Algeria)"  <em>; ar-DZ</em>
LCID_3C01 := "Arabic (Bahrain)"  <em>; ar-BH</em>
LCID_0C01 := "Arabic (Egypt)"  <em>; ar-EG</em>
LCID_0801 := "Arabic (Iraq)"  <em>; ar-IQ</em>
LCID_2C01 := "Arabic (Jordan)"  <em>; ar-JO</em>
LCID_3401 := "Arabic (Kuwait)"  <em>; ar-KW</em>
LCID_3001 := "Arabic (Lebanon)"  <em>; ar-LB</em>
LCID_1001 := "Arabic (Libya)"  <em>; ar-LY</em>
LCID_1801 := "Arabic (Morocco)"  <em>; ar-MA</em>
LCID_2001 := "Arabic (Oman)"  <em>; ar-OM</em>
LCID_4001 := "Arabic (Qatar)"  <em>; ar-QA</em>
LCID_0401 := "Arabic (Saudi Arabia)"  <em>; ar-SA</em>
LCID_2801 := "Arabic (Syria)"  <em>; ar-SY</em>
LCID_1C01 := "Arabic (Tunisia)"  <em>; ar-TN</em>
LCID_3801 := "Arabic (United Arab Emirates)"  <em>; ar-AE</em>
LCID_2401 := "Arabic (Yemen)"  <em>; ar-YE</em>
LCID_002B := "Armenian"  <em>; hy</em>
LCID_042B := "Armenian (Armenia)"  <em>; hy-AM</em>
LCID_004D := "Assamese"  <em>; as</em>
LCID_044D := "Assamese (India)"  <em>; as-IN</em>
LCID_002C := "Azerbaijani"  <em>; az</em>
LCID_742C := "Azerbaijani (Cyrillic)"  <em>; az-Cyrl</em>
LCID_082C := "Azerbaijani (Cyrillic, Azerbaijan)"  <em>; az-Cyrl-AZ</em>
LCID_782C := "Azerbaijani (Latin)"  <em>; az-Latn</em>
LCID_042C := "Azerbaijani (Latin, Azerbaijan)"  <em>; az-Latn-AZ</em>
LCID_0045 := "Bangla"  <em>; bn</em>
LCID_0845 := "Bangla (Bangladesh)"  <em>; bn-BD</em>
LCID_006D := "Bashkir"  <em>; ba</em>
LCID_046D := "Bashkir (Russia)"  <em>; ba-RU</em>
LCID_002D := "Basque"  <em>; eu</em>
LCID_042D := "Basque (Basque)"  <em>; eu-ES</em>
LCID_0023 := "Belarusian"  <em>; be</em>
LCID_0423 := "Belarusian (Belarus)"  <em>; be-BY</em>
LCID_0445 := "Bengali (India)"  <em>; bn-IN</em>
LCID_781A := "Bosnian"  <em>; bs</em>
LCID_641A := "Bosnian (Cyrillic)"  <em>; bs-Cyrl</em>
LCID_201A := "Bosnian (Cyrillic, Bosnia and Herzegovina)"  <em>; bs-Cyrl-BA</em>
LCID_681A := "Bosnian (Latin)"  <em>; bs-Latn</em>
LCID_141A := "Bosnian (Latin, Bosnia &amp; Herzegovina)"  <em>; bs-Latn-BA</em>
LCID_007E := "Breton"  <em>; br</em>
LCID_047E := "Breton (France)"  <em>; br-FR</em>
LCID_0002 := "Bulgarian"  <em>; bg</em>
LCID_0402 := "Bulgarian (Bulgaria)"  <em>; bg-BG</em>
LCID_0055 := "Burmese"  <em>; my</em>
LCID_0455 := "Burmese (Myanmar)"  <em>; my-MM</em>
LCID_0003 := "Catalan"  <em>; ca</em>
LCID_0403 := "Catalan (Catalan)"  <em>; ca-ES</em>
LCID_005F := "Central Atlas Tamazight"  <em>; tzm</em>
LCID_045F := "Central Atlas Tamazight (Arabic, Morocco)"  <em>; tzm-Arab-MA</em>
LCID_7C5F := "Central Atlas Tamazight (Latin)"  <em>; tzm-Latn</em>
LCID_085F := "Central Atlas Tamazight (Latin, Algeria)"  <em>; tzm-Latn-DZ</em>
LCID_785F := "Central Atlas Tamazight (Tifinagh)"  <em>; tzm-Tfng</em>
LCID_105F := "Central Atlas Tamazight (Tifinagh, Morocco)"  <em>; tzm-Tfng-MA</em>
LCID_0092 := "Central Kurdish"  <em>; ku</em>
LCID_7C92 := "Central Kurdish"  <em>; ku-Arab</em>
LCID_0492 := "Central Kurdish (Iraq)"  <em>; ku-Arab-IQ</em>
LCID_005C := "Cherokee"  <em>; chr</em>
LCID_7C5C := "Cherokee"  <em>; chr-Cher</em>
LCID_045C := "Cherokee (Cherokee, United States)"  <em>; chr-Cher-US</em>
LCID_7804 := "Chinese"  <em>; zh</em>
LCID_0004 := "Chinese (Simplified)"  <em>; zh-Hans</em>
LCID_0804 := "Chinese (Simplified, China)"  <em>; zh-CN</em>
LCID_1004 := "Chinese (Simplified, Singapore)"  <em>; zh-SG</em>
LCID_7C04 := "Chinese (Traditional)"  <em>; zh-Hant</em>
LCID_0C04 := "Chinese (Traditional, Hong Kong SAR)"  <em>; zh-HK</em>
LCID_1404 := "Chinese (Traditional, Macao SAR)"  <em>; zh-MO</em>
LCID_0404 := "Chinese (Traditional, Taiwan)"  <em>; zh-TW</em>
LCID_0083 := "Corsican"  <em>; co</em>
LCID_0483 := "Corsican (France)"  <em>; co-FR</em>
LCID_001A := "Croatian"  <em>; hr</em>
LCID_101A := "Croatian (Bosnia &amp; Herzegovina)"  <em>; hr-BA</em>
LCID_041A := "Croatian (Croatia)"  <em>; hr-HR</em>
LCID_0005 := "Czech"  <em>; cs</em>
LCID_0405 := "Czech (Czechia)"  <em>; cs-CZ</em>
LCID_0006 := "Danish"  <em>; da</em>
LCID_0406 := "Danish (Denmark)"  <em>; da-DK</em>
LCID_0065 := "Divehi"  <em>; dv</em>
LCID_0465 := "Divehi (Maldives)"  <em>; dv-MV</em>
LCID_0013 := "Dutch"  <em>; nl</em>
LCID_0813 := "Dutch (Belgium)"  <em>; nl-BE</em>
LCID_0413 := "Dutch (Netherlands)"  <em>; nl-NL</em>
LCID_0C51 := "Dzongkha (Bhutan)"  <em>; dz-BT</em>
LCID_0066 := "Edo"  <em>; bin</em>
LCID_0466 := "Edo (Nigeria)"  <em>; bin-NG</em>
LCID_0009 := "English"  <em>; en</em>
LCID_0C09 := "English (Australia)"  <em>; en-AU</em>
LCID_2809 := "English (Belize)"  <em>; en-BZ</em>
LCID_1009 := "English (Canada)"  <em>; en-CA</em>
LCID_2409 := "English (Caribbean)"  <em>; en-029</em>
LCID_3C09 := "English (Hong Kong SAR)"  <em>; en-HK</em>
LCID_4009 := "English (India)"  <em>; en-IN</em>
LCID_3809 := "English (Indonesia)"  <em>; en-ID</em>
LCID_1809 := "English (Ireland)"  <em>; en-IE</em>
LCID_2009 := "English (Jamaica)"  <em>; en-JM</em>
LCID_4409 := "English (Malaysia)"  <em>; en-MY</em>
LCID_1409 := "English (New Zealand)"  <em>; en-NZ</em>
LCID_3409 := "English (Philippines)"  <em>; en-PH</em>
LCID_4809 := "English (Singapore)"  <em>; en-SG</em>
LCID_1C09 := "English (South Africa)"  <em>; en-ZA</em>
LCID_2C09 := "English (Trinidad &amp; Tobago)"  <em>; en-TT</em>
LCID_4C09 := "English (United Arab Emirates)"  <em>; en-AE</em>
LCID_0809 := "English (United Kingdom)"  <em>; en-GB</em>
LCID_0409 := "English (United States)"  <em>; en-US</em>
LCID_3009 := "English (Zimbabwe)"  <em>; en-ZW</em>
LCID_0025 := "Estonian"  <em>; et</em>
LCID_0425 := "Estonian (Estonia)"  <em>; et-EE</em>
LCID_0038 := "Faroese"  <em>; fo</em>
LCID_0438 := "Faroese (Faroe Islands)"  <em>; fo-FO</em>
LCID_0064 := "Filipino"  <em>; fil</em>
LCID_0464 := "Filipino (Philippines)"  <em>; fil-PH</em>
LCID_000B := "Finnish"  <em>; fi</em>
LCID_040B := "Finnish (Finland)"  <em>; fi-FI</em>
LCID_000C := "French"  <em>; fr</em>
LCID_080C := "French (Belgium)"  <em>; fr-BE</em>
LCID_2C0C := "French (Cameroon)"  <em>; fr-CM</em>
LCID_0C0C := "French (Canada)"  <em>; fr-CA</em>
LCID_1C0C := "French (Caribbean)"  <em>; fr-029</em>
LCID_300C := "French (Côte d’Ivoire)"  <em>; fr-CI</em>
LCID_040C := "French (France)"  <em>; fr-FR</em>
LCID_3C0C := "French (Haiti)"  <em>; fr-HT</em>
LCID_140C := "French (Luxembourg)"  <em>; fr-LU</em>
LCID_340C := "French (Mali)"  <em>; fr-ML</em>
LCID_180C := "French (Monaco)"  <em>; fr-MC</em>
LCID_380C := "French (Morocco)"  <em>; fr-MA</em>
LCID_200C := "French (Réunion)"  <em>; fr-RE</em>
LCID_280C := "French (Senegal)"  <em>; fr-SN</em>
LCID_100C := "French (Switzerland)"  <em>; fr-CH</em>
LCID_240C := "French Congo (DRC)"  <em>; fr-CD</em>
LCID_0067 := "Fulah"  <em>; ff</em>
LCID_7C67 := "Fulah (Latin)"  <em>; ff-Latn</em>
LCID_0467 := "Fulah (Latin, Nigeria)"  <em>; ff-Latn-NG</em>
LCID_0867 := "Fulah (Latin, Senegal)"  <em>; ff-Latn-SN</em>
LCID_0056 := "Galician"  <em>; gl</em>
LCID_0456 := "Galician (Galician)"  <em>; gl-ES</em>
LCID_0037 := "Georgian"  <em>; ka</em>
LCID_0437 := "Georgian (Georgia)"  <em>; ka-GE</em>
LCID_0007 := "German"  <em>; de</em>
LCID_0C07 := "German (Austria)"  <em>; de-AT</em>
LCID_0407 := "German (Germany)"  <em>; de-DE</em>
LCID_1407 := "German (Liechtenstein)"  <em>; de-LI</em>
LCID_1007 := "German (Luxembourg)"  <em>; de-LU</em>
LCID_0807 := "German (Switzerland)"  <em>; de-CH</em>
LCID_0008 := "Greek"  <em>; el</em>
LCID_0408 := "Greek (Greece)"  <em>; el-GR</em>
LCID_0074 := "Guarani"  <em>; gn</em>
LCID_0474 := "Guarani (Paraguay)"  <em>; gn-PY</em>
LCID_0047 := "Gujarati"  <em>; gu</em>
LCID_0447 := "Gujarati (India)"  <em>; gu-IN</em>
LCID_0068 := "Hausa"  <em>; ha</em>
LCID_7C68 := "Hausa (Latin)"  <em>; ha-Latn</em>
LCID_0468 := "Hausa (Latin, Nigeria)"  <em>; ha-Latn-NG</em>
LCID_0075 := "Hawaiian"  <em>; haw</em>
LCID_0475 := "Hawaiian (United States)"  <em>; haw-US</em>
LCID_000D := "Hebrew"  <em>; he</em>
LCID_040D := "Hebrew (Israel)"  <em>; he-IL</em>
LCID_0039 := "Hindi"  <em>; hi</em>
LCID_0439 := "Hindi (India)"  <em>; hi-IN</em>
LCID_000E := "Hungarian"  <em>; hu</em>
LCID_040E := "Hungarian (Hungary)"  <em>; hu-HU</em>
LCID_0069 := "Ibibio"  <em>; ibb</em>
LCID_0469 := "Ibibio (Nigeria)"  <em>; ibb-NG</em>
LCID_000F := "Icelandic"  <em>; is</em>
LCID_040F := "Icelandic (Iceland)"  <em>; is-IS</em>
LCID_0070 := "Igbo"  <em>; ig</em>
LCID_0470 := "Igbo (Nigeria)"  <em>; ig-NG</em>
LCID_0021 := "Indonesian"  <em>; id</em>
LCID_0421 := "Indonesian (Indonesia)"  <em>; id-ID</em>
LCID_005D := "Inuktitut"  <em>; iu</em>
LCID_7C5D := "Inuktitut (Latin)"  <em>; iu-Latn</em>
LCID_085D := "Inuktitut (Latin, Canada)"  <em>; iu-Latn-CA</em>
LCID_785D := "Inuktitut (Syllabics)"  <em>; iu-Cans</em>
LCID_045D := "Inuktitut (Syllabics, Canada)"  <em>; iu-Cans-CA</em>
LCID_003C := "Irish"  <em>; ga</em>
LCID_083C := "Irish (Ireland)"  <em>; ga-IE</em>
LCID_0034 := "isiXhosa"  <em>; xh</em>
LCID_0434 := "isiXhosa (South Africa)"  <em>; xh-ZA</em>
LCID_0035 := "isiZulu"  <em>; zu</em>
LCID_0435 := "isiZulu (South Africa)"  <em>; zu-ZA</em>
LCID_0010 := "Italian"  <em>; it</em>
LCID_0410 := "Italian (Italy)"  <em>; it-IT</em>
LCID_0810 := "Italian (Switzerland)"  <em>; it-CH</em>
LCID_0011 := "Japanese"  <em>; ja</em>
LCID_0411 := "Japanese (Japan)"  <em>; ja-JP</em>
LCID_006F := "Kalaallisut"  <em>; kl</em>
LCID_046F := "Kalaallisut (Greenland)"  <em>; kl-GL</em>
LCID_004B := "Kannada"  <em>; kn</em>
LCID_044B := "Kannada (India)"  <em>; kn-IN</em>
LCID_0071 := "Kanuri"  <em>; kr</em>
LCID_0471 := "Kanuri (Latin, Nigeria)"  <em>; kr-Latn-NG</em>
LCID_0060 := "Kashmiri"  <em>; ks</em>
LCID_0460 := "Kashmiri (Arabic)"  <em>; ks-Arab</em>
LCID_1000 := "Kashmiri (Arabic)"  <em>; ks-Arab-IN</em>
LCID_0860 := "Kashmiri (Devanagari)"  <em>; ks-Deva-IN</em>
LCID_003F := "Kazakh"  <em>; kk</em>
LCID_043F := "Kazakh (Kazakhstan)"  <em>; kk-KZ</em>
LCID_0053 := "Khmer"  <em>; km</em>
LCID_0453 := "Khmer (Cambodia)"  <em>; km-KH</em>
LCID_0087 := "Kinyarwanda"  <em>; rw</em>
LCID_0487 := "Kinyarwanda (Rwanda)"  <em>; rw-RW</em>
LCID_0041 := "Kiswahili"  <em>; sw</em>
LCID_0441 := "Kiswahili (Kenya)"  <em>; sw-KE</em>
LCID_0057 := "Konkani"  <em>; kok</em>
LCID_0457 := "Konkani (India)"  <em>; kok-IN</em>
LCID_0012 := "Korean"  <em>; ko</em>
LCID_0412 := "Korean (Korea)"  <em>; ko-KR</em>
LCID_0040 := "Kyrgyz"  <em>; ky</em>
LCID_0440 := "Kyrgyz (Kyrgyzstan)"  <em>; ky-KG</em>
LCID_0086 := "Kʼicheʼ"  <em>; quc</em>
LCID_7C86 := "Kʼicheʼ (Latin)"  <em>; quc-Latn</em>
LCID_0486 := "Kʼicheʼ (Latin, Guatemala)"  <em>; quc-Latn-GT</em>
LCID_0054 := "Lao"  <em>; lo</em>
LCID_0454 := "Lao (Laos)"  <em>; lo-LA</em>
LCID_0076 := "Latin"  <em>; la</em>
LCID_0476 := "Latin (Vatican City)"  <em>; la-VA</em>
LCID_0026 := "Latvian"  <em>; lv</em>
LCID_0426 := "Latvian (Latvia)"  <em>; lv-LV</em>
LCID_0027 := "Lithuanian"  <em>; lt</em>
LCID_0427 := "Lithuanian (Lithuania)"  <em>; lt-LT</em>
LCID_7C2E := "Lower Sorbian"  <em>; dsb</em>
LCID_082E := "Lower Sorbian (Germany)"  <em>; dsb-DE</em>
LCID_006E := "Luxembourgish"  <em>; lb</em>
LCID_046E := "Luxembourgish (Luxembourg)"  <em>; lb-LU</em>
LCID_002F := "Macedonian"  <em>; mk</em>
LCID_042F := "Macedonian (North Macedonia)"  <em>; mk-MK</em>
LCID_003E := "Malay"  <em>; ms</em>
LCID_083E := "Malay (Brunei)"  <em>; ms-BN</em>
LCID_043E := "Malay (Malaysia)"  <em>; ms-MY</em>
LCID_004C := "Malayalam"  <em>; ml</em>
LCID_044C := "Malayalam (India)"  <em>; ml-IN</em>
LCID_003A := "Maltese"  <em>; mt</em>
LCID_043A := "Maltese (Malta)"  <em>; mt-MT</em>
LCID_0058 := "Manipuri"  <em>; mni</em>
LCID_0458 := "Manipuri (Bangla, India)"  <em>; mni-IN</em>
LCID_0081 := "Maori"  <em>; mi</em>
LCID_0481 := "Maori (New Zealand)"  <em>; mi-NZ</em>
LCID_007A := "Mapuche"  <em>; arn</em>
LCID_047A := "Mapuche (Chile)"  <em>; arn-CL</em>
LCID_004E := "Marathi"  <em>; mr</em>
LCID_044E := "Marathi (India)"  <em>; mr-IN</em>
LCID_007C := "Mohawk"  <em>; moh</em>
LCID_047C := "Mohawk (Canada)"  <em>; moh-CA</em>
LCID_0050 := "Mongolian"  <em>; mn</em>
LCID_7850 := "Mongolian"  <em>; mn-Cyrl</em>
LCID_0450 := "Mongolian (Mongolia)"  <em>; mn-MN</em>
LCID_7C50 := "Mongolian (Traditional Mongolian)"  <em>; mn-Mong</em>
LCID_0850 := "Mongolian (Traditional Mongolian, China)"  <em>; mn-Mong-CN</em>
LCID_0C50 := "Mongolian (Traditional Mongolian, Mongolia)"  <em>; mn-Mong-MN</em>
LCID_0061 := "Nepali"  <em>; ne</em>
LCID_0861 := "Nepali (India)"  <em>; ne-IN</em>
LCID_0461 := "Nepali (Nepal)"  <em>; ne-NP</em>
LCID_003B := "Northern Sami"  <em>; se</em>
LCID_0014 := "Norwegian"  <em>; no</em>
LCID_7C14 := "Norwegian Bokmål"  <em>; nb</em>
LCID_0414 := "Norwegian Bokmål (Norway)"  <em>; nb-NO</em>
LCID_7814 := "Norwegian Nynorsk"  <em>; nn</em>
LCID_0814 := "Norwegian Nynorsk (Norway)"  <em>; nn-NO</em>
LCID_0082 := "Occitan"  <em>; oc</em>
LCID_0482 := "Occitan (France)"  <em>; oc-FR</em>
LCID_0048 := "Odia"  <em>; or</em>
LCID_0448 := "Odia (India)"  <em>; or-IN</em>
LCID_0072 := "Oromo"  <em>; om</em>
LCID_0472 := "Oromo (Ethiopia)"  <em>; om-ET</em>
LCID_0079 := "Papiamento"  <em>; pap</em>
LCID_0479 := "Papiamento (Caribbean)"  <em>; pap-029</em>
LCID_0063 := "Pashto"  <em>; ps</em>
LCID_0463 := "Pashto (Afghanistan)"  <em>; ps-AF</em>
LCID_0029 := "Persian"  <em>; fa</em>
LCID_008C := "Persian"  <em>; fa</em>
LCID_048C := "Persian (Afghanistan)"  <em>; fa-AF</em>
LCID_0429 := "Persian (Iran)"  <em>; fa-IR</em>
LCID_0015 := "Polish"  <em>; pl</em>
LCID_0415 := "Polish (Poland)"  <em>; pl-PL</em>
LCID_0016 := "Portuguese"  <em>; pt</em>
LCID_0416 := "Portuguese (Brazil)"  <em>; pt-BR</em>
LCID_0816 := "Portuguese (Portugal)"  <em>; pt-PT</em>
LCID_05FE := "Pseudo (Pseudo Asia)"  <em>; qps-ploca</em>
LCID_09FF := "Pseudo (Pseudo Mirrored)"  <em>; qps-plocm</em>
LCID_0901 := "Pseudo (Pseudo Selfhost)"  <em>; qps-Latn-x-sh</em>
LCID_0501 := "Pseudo (Pseudo)"  <em>; qps-ploc</em>
LCID_0046 := "Punjabi"  <em>; pa</em>
LCID_7C46 := "Punjabi"  <em>; pa-Arab</em>
LCID_0446 := "Punjabi (India)"  <em>; pa-IN</em>
LCID_0846 := "Punjabi (Pakistan)"  <em>; pa-Arab-PK</em>
LCID_006B := "Quechua"  <em>; quz</em>
LCID_046B := "Quechua (Bolivia)"  <em>; quz-BO</em>
LCID_086B := "Quechua (Ecuador)"  <em>; quz-EC</em>
LCID_0C6B := "Quechua (Peru)"  <em>; quz-PE</em>
LCID_0018 := "Romanian"  <em>; ro</em>
LCID_0818 := "Romanian (Moldova)"  <em>; ro-MD</em>
LCID_0418 := "Romanian (Romania)"  <em>; ro-RO</em>
LCID_0017 := "Romansh"  <em>; rm</em>
LCID_0417 := "Romansh (Switzerland)"  <em>; rm-CH</em>
LCID_0019 := "Russian"  <em>; ru</em>
LCID_0819 := "Russian (Moldova)"  <em>; ru-MD</em>
LCID_0419 := "Russian (Russia)"  <em>; ru-RU</em>
LCID_0085 := "Sakha"  <em>; sah</em>
LCID_0485 := "Sakha (Russia)"  <em>; sah-RU</em>
LCID_703B := "Sami (Inari)"  <em>; smn</em>
LCID_7C3B := "Sami (Lule)"  <em>; smj</em>
LCID_743B := "Sami (Skolt)"  <em>; sms</em>
LCID_783B := "Sami (Southern)"  <em>; sma</em>
LCID_243B := "Sami, Inari (Finland)"  <em>; smn-FI</em>
LCID_103B := "Sami, Lule (Norway)"  <em>; smj-NO</em>
LCID_143B := "Sami, Lule (Sweden)"  <em>; smj-SE</em>
LCID_0C3B := "Sami, Northern (Finland)"  <em>; se-FI</em>
LCID_043B := "Sami, Northern (Norway)"  <em>; se-NO</em>
LCID_083B := "Sami, Northern (Sweden)"  <em>; se-SE</em>
LCID_203B := "Sami, Skolt (Finland)"  <em>; sms-FI</em>
LCID_183B := "Sami, Southern (Norway)"  <em>; sma-NO</em>
LCID_1C3B := "Sami, Southern (Sweden)"  <em>; sma-SE</em>
LCID_004F := "Sanskrit"  <em>; sa</em>
LCID_044F := "Sanskrit (India)"  <em>; sa-IN</em>
LCID_0091 := "Scottish Gaelic"  <em>; gd</em>
LCID_0491 := "Scottish Gaelic (United Kingdom)"  <em>; gd-GB</em>
LCID_7C1A := "Serbian"  <em>; sr</em>
LCID_6C1A := "Serbian (Cyrillic)"  <em>; sr-Cyrl</em>
LCID_1C1A := "Serbian (Cyrillic, Bosnia and Herzegovina)"  <em>; sr-Cyrl-BA</em>
LCID_301A := "Serbian (Cyrillic, Montenegro)"  <em>; sr-Cyrl-ME</em>
LCID_0C1A := "Serbian (Cyrillic, Serbia and Montenegro (Former))"  <em>; sr-Cyrl-CS</em>
LCID_281A := "Serbian (Cyrillic, Serbia)"  <em>; sr-Cyrl-RS</em>
LCID_701A := "Serbian (Latin)"  <em>; sr-Latn</em>
LCID_181A := "Serbian (Latin, Bosnia &amp; Herzegovina)"  <em>; sr-Latn-BA</em>
LCID_2C1A := "Serbian (Latin, Montenegro)"  <em>; sr-Latn-ME</em>
LCID_081A := "Serbian (Latin, Serbia and Montenegro (Former))"  <em>; sr-Latn-CS</em>
LCID_241A := "Serbian (Latin, Serbia)"  <em>; sr-Latn-RS</em>
LCID_0030 := "Sesotho"  <em>; st</em>
LCID_0430 := "Sesotho (South Africa)"  <em>; st-ZA</em>
LCID_006C := "Sesotho sa Leboa"  <em>; nso</em>
LCID_046C := "Sesotho sa Leboa (South Africa)"  <em>; nso-ZA</em>
LCID_0032 := "Setswana"  <em>; tn</em>
LCID_0832 := "Setswana (Botswana)"  <em>; tn-BW</em>
LCID_0432 := "Setswana (South Africa)"  <em>; tn-ZA</em>
LCID_0059 := "Sindhi"  <em>; sd</em>
LCID_7C59 := "Sindhi"  <em>; sd-Arab</em>
LCID_0459 := "Sindhi (Devanagari, India)"  <em>; sd-Deva-IN</em>
LCID_0859 := "Sindhi (Pakistan)"  <em>; sd-Arab-PK</em>
LCID_005B := "Sinhala"  <em>; si</em>
LCID_045B := "Sinhala (Sri Lanka)"  <em>; si-LK</em>
LCID_001B := "Slovak"  <em>; sk</em>
LCID_041B := "Slovak (Slovakia)"  <em>; sk-SK</em>
LCID_0024 := "Slovenian"  <em>; sl</em>
LCID_0424 := "Slovenian (Slovenia)"  <em>; sl-SI</em>
LCID_0077 := "Somali"  <em>; so</em>
LCID_0477 := "Somali (Somalia)"  <em>; so-SO</em>
LCID_000A := "Spanish"  <em>; es</em>
LCID_2C0A := "Spanish (Argentina)"  <em>; es-AR</em>
LCID_400A := "Spanish (Bolivia)"  <em>; es-BO</em>
LCID_340A := "Spanish (Chile)"  <em>; es-CL</em>
LCID_240A := "Spanish (Colombia)"  <em>; es-CO</em>
LCID_140A := "Spanish (Costa Rica)"  <em>; es-CR</em>
LCID_5C0A := "Spanish (Cuba)"  <em>; es-CU</em>
LCID_1C0A := "Spanish (Dominican Republic)"  <em>; es-DO</em>
LCID_300A := "Spanish (Ecuador)"  <em>; es-EC</em>
LCID_440A := "Spanish (El Salvador)"  <em>; es-SV</em>
LCID_100A := "Spanish (Guatemala)"  <em>; es-GT</em>
LCID_480A := "Spanish (Honduras)"  <em>; es-HN</em>
LCID_580A := "Spanish (Latin America)"  <em>; es-419</em>
LCID_080A := "Spanish (Mexico)"  <em>; es-MX</em>
LCID_4C0A := "Spanish (Nicaragua)"  <em>; es-NI</em>
LCID_180A := "Spanish (Panama)"  <em>; es-PA</em>
LCID_3C0A := "Spanish (Paraguay)"  <em>; es-PY</em>
LCID_280A := "Spanish (Peru)"  <em>; es-PE</em>
LCID_500A := "Spanish (Puerto Rico)"  <em>; es-PR</em>
LCID_0C0A := "Spanish (Spain, International Sort)"  <em>; es-ES</em>
LCID_040A := "Spanish (Spain, Traditional Sort)"  <em>; es-ES_tradnl</em>
LCID_540A := "Spanish (United States)"  <em>; es-US</em>
LCID_380A := "Spanish (Uruguay)"  <em>; es-UY</em>
LCID_200A := "Spanish (Venezuela)"  <em>; es-VE</em>
LCID_001D := "Swedish"  <em>; sv</em>
LCID_081D := "Swedish (Finland)"  <em>; sv-FI</em>
LCID_041D := "Swedish (Sweden)"  <em>; sv-SE</em>
LCID_0084 := "Swiss German"  <em>; gsw</em>
LCID_005A := "Syriac"  <em>; syr</em>
LCID_045A := "Syriac (Syria)"  <em>; syr-SY</em>
LCID_0028 := "Tajik"  <em>; tg</em>
LCID_7C28 := "Tajik (Cyrillic)"  <em>; tg-Cyrl</em>
LCID_0428 := "Tajik (Cyrillic, Tajikistan)"  <em>; tg-Cyrl-TJ</em>
LCID_0049 := "Tamil"  <em>; ta</em>
LCID_0449 := "Tamil (India)"  <em>; ta-IN</em>
LCID_0849 := "Tamil (Sri Lanka)"  <em>; ta-LK</em>
LCID_0044 := "Tatar"  <em>; tt</em>
LCID_0444 := "Tatar (Russia)"  <em>; tt-RU</em>
LCID_004A := "Telugu"  <em>; te</em>
LCID_044A := "Telugu (India)"  <em>; te-IN</em>
LCID_001E := "Thai"  <em>; th</em>
LCID_041E := "Thai (Thailand)"  <em>; th-TH</em>
LCID_0051 := "Tibetan"  <em>; bo</em>
LCID_0451 := "Tibetan (China)"  <em>; bo-CN</em>
LCID_0073 := "Tigrinya"  <em>; ti</em>
LCID_0873 := "Tigrinya (Eritrea)"  <em>; ti-ER</em>
LCID_0473 := "Tigrinya (Ethiopia)"  <em>; ti-ET</em>
LCID_001F := "Turkish"  <em>; tr</em>
LCID_041F := "Turkish (Turkey)"  <em>; tr-TR</em>
LCID_0042 := "Turkmen"  <em>; tk</em>
LCID_0442 := "Turkmen (Turkmenistan)"  <em>; tk-TM</em>
LCID_0022 := "Ukrainian"  <em>; uk</em>
LCID_0422 := "Ukrainian (Ukraine)"  <em>; uk-UA</em>
LCID_002E := "Upper Sorbian"  <em>; hsb</em>
LCID_042E := "Upper Sorbian (Germany)"  <em>; hsb-DE</em>
LCID_0020 := "Urdu"  <em>; ur</em>
LCID_0820 := "Urdu (India)"  <em>; ur-IN</em>
LCID_0420 := "Urdu (Pakistan)"  <em>; ur-PK</em>
LCID_0080 := "Uyghur"  <em>; ug</em>
LCID_0480 := "Uyghur (China)"  <em>; ug-CN</em>
LCID_0043 := "Uzbek"  <em>; uz</em>
LCID_7843 := "Uzbek (Cyrillic)"  <em>; uz-Cyrl</em>
LCID_0843 := "Uzbek (Cyrillic, Uzbekistan)"  <em>; uz-Cyrl-UZ</em>
LCID_7C43 := "Uzbek (Latin)"  <em>; uz-Latn</em>
LCID_0443 := "Uzbek (Latin, Uzbekistan)"  <em>; uz-Latn-UZ</em>
LCID_0803 := "Valencian (Spain)"  <em>; ca-ES-valencia</em>
LCID_0033 := "Venda"  <em>; ve</em>
LCID_0433 := "Venda (South Africa)"  <em>; ve-ZA</em>
LCID_002A := "Vietnamese"  <em>; vi</em>
LCID_042A := "Vietnamese (Vietnam)"  <em>; vi-VN</em>
LCID_0052 := "Welsh"  <em>; cy</em>
LCID_0452 := "Welsh (United Kingdom)"  <em>; cy-GB</em>
LCID_0062 := "Western Frisian"  <em>; fy</em>
LCID_0462 := "Western Frisian (Netherlands)"  <em>; fy-NL</em>
LCID_0088 := "Wolof"  <em>; wo</em>
LCID_0488 := "Wolof (Senegal)"  <em>; wo-SN</em>
LCID_0031 := "Xitsonga"  <em>; ts</em>
LCID_0431 := "Xitsonga (South Africa)"  <em>; ts-ZA</em>
LCID_0078 := "Yi"  <em>; ii</em>
LCID_0478 := "Yi (China)"  <em>; ii-CN</em>
LCID_003D := "Yiddish"  <em>; yi</em>
LCID_043D := "Yiddish (World)"  <em>; yi-001</em>
LCID_006A := "Yoruba"  <em>; yo</em>
LCID_046A := "Yoruba (Nigeria)"  <em>; yo-NG</em>

the_language := LCID_%A_Language%  <em>; 获取系统默认语言的名称.</em>
MsgBox %the_language%  <em>; 显示语言名称.</em></pre>
<p>下面的脚本用于创建上面的列表(需要 Windows Vista 或更高版本):</p>
<pre class="NoIndent">Gui, Add, ListView, w500 r20, LCID|Display Name|Locale Name
Gui, Show

LOCALE_ALLOW_NEUTRAL_NAMES := 0x08000000
LOCALE_SENGLISHDISPLAYNAME := 0x72
LOCALE_SLOCALIZEDDISPLAYNAME := 0x2
loop 0xFFFF
{
    LCID := Format("{:04X}", A_Index)
    if (LCID ~= "(04|08|0C|14|20|24|28|2C|30|34|38|3C|40|44|48|4C)00")
        continue  <em>; 跳过默认和临时的 LCID.</em>
    LocaleName := LCIDToLocaleName(A_Index, LOCALE_ALLOW_NEUTRAL_NAMES)
    if not LocaleName
        continue  <em>; 跳过未知的 LCID.</em>
    DisplayName := GetLocaleInfo(LocaleName, LOCALE_SENGLISHDISPLAYNAME)
    <em>; DisplayName := GetLocaleInfo(LocaleName, LOCALE_SLOCALIZEDDISPLAYNAME)</em>
    LV_Add(, LCID, DisplayName, LocaleName)
    <em>; Clipboard .= LCID "`t" DisplayName "`t" LocaleName "`n"</em>
}
LV_ModifyCol()  <em>; 自动调整每列的大小以适合其内容.</em>

LCIDToLocaleName(LCID, Flags := 0)
{
    reqBufSize := DllCall("LCIDToLocaleName", "UInt", LCID, "Ptr", 0, "UInt", 0, "UInt", Flags)
    size := VarSetCapacity(out, reqBufSize)
    DllCall("LCIDToLocaleName", "UInt", LCID, "Ptr", &out, "UInt", size, "UInt", Flags)
    return StrGet(&out, "UTF-16")
}

GetLocaleInfo(LocaleName, LCType)
{
    reqBufSize := DllCall("GetLocaleInfoEx", "WStr", LocaleName, "UInt", LCType, "Ptr", 0, "UInt", 0)
    size := VarSetCapacity(out, reqBufSize)
    DllCall("GetLocaleInfoEx", "WStr", LocaleName, "UInt", LCType, "Ptr", &out, "UInt", size)
    return StrGet(&out, "UTF-16")
}</pre>

</body>
</html>